﻿using ProgrammingEducationSystem.Models;
namespace ProgrammingEducationSystem.Repository.IRepository
{
    public interface ILearnSourceRepository : IBaseRepository<LearnSource> 
    {

        //由于外键修改，以下三个方法被废弃
        //Task<List<LearnSource>> GetByClassIdAsync(Guid classId);
        //Task<List<LearnSource>> GetByCourseHourIdAsync(Guid id);
        //Task<List<LearnSource>> GetByTeacherIdAsync(string id);
        Task<List<LearnSource>> GetByCourseType(string courseTypeName);
        Task<List<LearnSource>> GetByCourseType(Guid courseTypeId);
        Task<List<LearnSource>> GetByCourseTypeIdList(List<Guid> courseTypeIdList);
    }
}
